package me.zhengjie.modules.web.domain.pay;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class OrderSubmitRequest {

    @ApiModelProperty(value = "测评Atmr-测评必传")
    private String atmrId;

    private Integer groupId;

    private String groupCode;

    @ApiModelProperty(value = "订单类型")
    private Integer orderType;

    @ApiModelProperty(value = "身份类型")
    private Integer identityType;

    @ApiModelProperty(value = "班级编号-餐费订单必传")
    private String classNo;

    @ApiModelProperty(value = "课程编号-课程订单必传")
    private String courseNo;

    @ApiModelProperty(value = "身份产品编号-身份订单必传")
    private String identityNo;

    @ApiModelProperty(value = "测评结果ID")
    private Integer resultId;

    private String backendOpenId;

    private boolean notNeedPay;

    private String chatKey;

    private String grantFlag;

    @ApiModelProperty(value = "推荐人")
    private String referee;

    @ApiModelProperty(value = "报名人列表")
    private List<CourseApplicantsRequest> applicantsList;


    @Data
    public static class CourseApplicantsRequest{
        @ApiModelProperty(value = "真实姓名")
        private String realName;
        @ApiModelProperty(value = "手机号")
        private String mobile;
    }
}
